package com.datou.salmon.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "household_status")
public class IotLanStatus  implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -1268919415786029498L;
	private String id;
	private String reportDate;
	private String ip;
	private String mac;
	private String cpuId;
	private String connDeviceNum;
	private String connClientNum;
	private String familyId;
	private String name;
	private String description;

	private HashMap<String, Object> routerStatus;
	private ArrayList<Map<String, Object>> devices;
	private ArrayList<Map<String, Object>> clients;

	public IotLanStatus() {
		super();
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getReportDate() {
		return reportDate;
	}

	public void setReportDate(String reportDate) {
		this.reportDate = reportDate;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getMac() {
		return mac;
	}

	public void setMac(String mac) {
		this.mac = mac;
	}

	public String getCpuId() {
		return cpuId;
	}

	public void setCpuId(String cpuId) {
		this.cpuId = cpuId;
	}

	public String getConnDeviceNum() {
		return connDeviceNum;
	}

	public void setConnDeviceNum(String connDeviceNum) {
		this.connDeviceNum = connDeviceNum;
	}

	public String getConnClientNum() {
		return connClientNum;
	}

	public void setConnClientNum(String connClientNum) {
		this.connClientNum = connClientNum;
	}

	public HashMap<String, Object> getRouterStatus() {
		return routerStatus;
	}

	public void setRouterStatus(HashMap<String, Object> routerStatus) {
		this.routerStatus = routerStatus;
	}

	public ArrayList<Map<String, Object>> getDevices() {
		return devices;
	}

	public void setDevices(ArrayList<Map<String, Object>> devices) {
		this.devices = devices;
	}

	public ArrayList<Map<String, Object>> getClients() {
		return clients;
	}

	public void setClients(ArrayList<Map<String, Object>> clients) {
		this.clients = clients;
	}

	public String getFamilyId() {
		return familyId;
	}

	public void setFamilyId(String familyId) {
		this.familyId = familyId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Override
	public String toString() {
		return "RouterStatus [id=" + id + ", reportDate=" + reportDate + ", ip=" + ip + ", mac=" + mac + ", cpuId="
				+ cpuId + ", connDeviceNum=" + connDeviceNum + ", connClientNum=" + connClientNum + ", familyId="
				+ familyId + ", name=" + name + ", description=" + description + ", routerStatus=" + routerStatus
				+ ", devices=" + devices + ", clients=" + clients + "]";
	}

}
